package com.qcby.front.service;

import com.qcby.framwork.utils.ResponseResult;
import com.qcby.front.model.SgComment;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author admin
 * @since 2024-09-20
 */
public interface SgCommentService extends IService<SgComment> {
    //查找评论
    ResponseResult commentList(String commentType,Long articleId, Integer pageNum, Integer pageSize);
    //在文章的评论区发送评论
    ResponseResult addComment(SgComment comment);
}
